package com.ruoyi.house.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.sql.Date;
import java.util.Map;

/**
 * 用户对象 yjz_user
 *
 * @author 码道可道
 * @date 2025-07-14
 */
@Data
@TableName("yjz_user")
public class YjzUser extends BaseEntity
{
        private static final long serialVersionUID = 1L;

        /** 主键 */
        @TableId(value = "id",type = IdType.AUTO)
        private Long id;

        /** 微信openid */
        @Excel(name = "微信openid")
        private String openid;

        /** 头像 */
        @Excel(name = "头像")
        private String avatar;

        /** 昵称 */
        @Excel(name = "昵称")
        private String nickname;

        /** 手机号 */
        @Excel(name = "手机号")
        private String phone;

        // ========== 非数据库字段 ==========
        @TableField(exist = false)
        private String searchValue;

        @TableField(exist = false)
        private String createBy;

        @TableField(exist = false)
        private Date createTime;

        @TableField(exist = false)
        private String updateBy;

        @TableField(exist = false)
        private Date updateTime;

        @TableField(exist = false)
        private String remark;

        @TableField(exist = false)
        private Map<String, Object> params;
}